/**
 * Created by wanghuan on 2017/4/20.
 *
 */
  export  default [
    {
      path: '/views/time/track/timeCard',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeTrack/timeCard.vue'));
        },'timeCard');
      }
    },

    {
      path: '/views/time/track/manualTimeCard',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeTrack/manualTimeCard.vue'));
        },'manualTimeCard');
      }
    },
    {
      path: '/views/time/track/PTO',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeTrack/PTO.vue'));
        },'PTO');
      }
    },
    {
      path: '/views/time/manage/schedule',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeManagement/schedule.vue'));
        },'schedule');
      }
    },
    {
      path: '/views/time/manage/timesheet',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeManagement/timesheets.vue'));
        },'timesheets');
      }
    },
    {
      path: '/views/time/manage/timesheet/add',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeManagement/addTimesheet.vue'));
        },'timesheets');
      }
    },
    {
      path: '/views/time/manage/whoIsWorking',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeManagement/whoIsWorking.vue'));
        },'whoIsWorking');
      }
    },
    {
      path: '/views/time/report',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeReport/timeReport.vue'));
        },'timeReport');
      }
    },
    {
      path: '/views/time/report/result',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeReport/timeReportResult.vue'));
        },'timeReportResult');
      }
    },
    {
      path: '/views/time/report/result/:id',
      component: function (resolve) {
        require.ensure([], function(){
          resolve(require('src/pages/time/timeReport/timeReportDetail.vue'));
        },'timeReportResult');
      }
    },
    {
      path: '/views/time',
      redirect: '/views/time/track'
    },
    {
      path: '/views/time/track',
      redirect: '/views/time/track/timeCard'
    },
    {
      path: '/views/time/manage',
      redirect: '/views/time/manage/whoIsWorking'
    }
  ]
